package com.dragonfly.shutter.stub;

import java.util.List;

import com.dragonfly.shutter.DAOs.FriendDAO;
import com.dragonfly.shutter.beans.Friend;

/**
 * 好友数据库操作的桩
 * @author jinlingjie
 *
 */
public class FriendDAOStub implements FriendDAO {

	private Friend friend;

	/**
	 * @param friend the friend to set
	 */
	public void setFriend(Friend friend) {
		this.friend = friend;
	}

	/**
	 * @see com.dragonfly.shutter.DAOs.FriendDAO#deleteFriend(java.lang.Integer)
	 */
	@Override
	public int deleteFriend(Integer userFriendID) {
		// TODO Auto-generated method stub
		return 0;
	}

	/**
	 * @see com.dragonfly.shutter.DAOs.FriendDAO#insertNewFriend(com.dragonfly.shutter.beans.Friend)
	 */
	@Override
	public Integer insertNewFriend(Friend friend) {
		// TODO Auto-generated method stub
		return null;
	}

	/**
	 * @see com.dragonfly.shutter.DAOs.FriendDAO#selectAllFriendByUserID(java.lang.Integer)
	 */
	@Override
	public List<Friend> selectAllFriendByUserID(Integer userID) {
		// TODO Auto-generated method stub
		return null;
	}

	/**
	 * @see com.dragonfly.shutter.DAOs.FriendDAO#selectFriendCount(java.lang.Integer)
	 */
	@Override
	public Integer selectFriendCount(Integer userID) {
		// TODO Auto-generated method stub
		return null;
	}

	/**
	 * @see com.dragonfly.shutter.DAOs.FriendDAO#selectOneFriend(java.lang.Integer, java.lang.Integer)
	 */
	@Override
	public Friend selectOneFriend(Integer userID, Integer frinedID) {
		return friend;
	}

	/**
	 * @see com.dragonfly.shutter.DAOs.FriendDAO#selectPagedFriendByUserID(java.lang.Integer, java.lang.Integer, java.lang.Integer)
	 */
	@Override
	public List<Friend> selectPagedFriendByUserID(Integer userID,
			Integer minRow, Integer MaxRow) {
		// TODO Auto-generated method stub
		return null;
	}

}
